package com.sell.repository;

import com.sell.dataobject.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: megan
 * @Data: 2018/12/3 10:31 PM
 * @Description: 订单详情 dao
 */
public interface OrderDetailRepository extends JpaRepository<OrderDetail, String> {

    // 根据orderID查询订单详情
    List<OrderDetail> findByOrderId(String orderId);

}
